import { request } from 'umi';

export async function all() {
  return request('/admin/prod/category/all', {
    method: 'GET',
    // params: {...options}
    // ...(options || {}),
  });
}